export class MyInfoEvent {
    public static INTRODUCE_CHANGED: string = "MyInfoEvent.INTRODUCE_CHANGED";
}

export class MyInfoMgr {
    private static _inst: MyInfoMgr = null;
    public static get inst(): MyInfoMgr {
        if (!this._inst) {
            this._inst = new MyInfoMgr();
        }
        return this._inst;
    }

    //数据接口演示
    private _introduce: string = '作者:麒麟子 QQ:738337822 期待和大家交朋友';
    public get introduce(): string {
        return this._introduce;
    }

    public changeIntroduce() {
        this._introduce = '作者:麒麟子 QQ:738337822 期待和大家交朋友\n' + (new Date());
        cc.game.emit(MyInfoEvent.INTRODUCE_CHANGED);
    }
}